//
//  City.m
//  Province-City-Zone
//
//  Created by 402030900@qq.com on 16/7/11.
//  Copyright © 2016年 402030900@qq.com. All rights reserved.
//

#import "City.h"

@implementation City
- (instancetype)initWithName:(NSString *)name{
    if (self) {
        self = [super init];
        _array = [NSMutableArray array];
    }
    return self;
}
+ (instancetype)CityWithCityName:(NSString *)name{
   return  [[self alloc]initWithName: name];
}
- (instancetype)initWithName:(NSString *)name number:(NSString *)number{
    self = [super initWithName: name  number: number];
    if (self) {
        _array = [NSMutableArray array];
    }
    return self;
}
-(NSString *)description{
    return [NSString stringWithFormat:@"%@,%@",_array,self.name];
}
@end
